package com.huiying.entity.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: lsh
 * @Date: 2024/12/01/22:12
 * @Description: 阅读
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Read implements Serializable {
    private static final long serialVersionUID = 1L;
    //阅读记录id
    private Long id;
    //需求单或者作品id
    private Long itemId;
    //区分是需求单还是作品，0是需求单，1是作品
    private String itemType;
    //用户id
    private Long userId;
    //阅读时间
    private LocalDateTime readTime;
}
